home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Varsity Update 1998 August
/
SGI Varsity Update 1998 August.iso
/
dist
/
dist6.5
/
il_dev.idb
/
usr
/
include
/
il
/
ilVkImgAttrForm.h.z
/
ilVkImgAttrForm.h
Wrap
C/C++ Source or Header
|
1998-07-29
|
7KB
|
216 lines
//////////////////////////////////////////////////////////////
//
// Header file for ilVkImgAttrForm
//
// This file is generated by RapidApp 1.2
//
// This class implements the user interface portion of a class
//
// Restrict changes to those sections between
// the "//--- Start/End editable code block" markers
//
// This will allow RapidApp to integrate changes more easily
//
// This class is a ViewKit user interface "component".
// For more information on how components are used, see the
// "ViewKit Programmers' Manual", and the RapidApp
// User's Guide.
//
//////////////////////////////////////////////////////////////
#ifndef ILVKIMGATTRFORM_H
#define ILVKIMGATTRFORM_H
#include <Vk/VkComponent.h>
//---- Start editable code block: headers and declarations
#include <ifl/iflFileConfig.h>
class ilImage;
class iflFormat;
//---- End editable code block: headers and declarations
class VkOptionMenu;
class VkMenuAction;
class VkMenuToggle;
class VkMenuItem;
class ilVkImgAttrForm : public VkComponent
{
public:
ilVkImgAttrForm ( const char *, Widget );
ilVkImgAttrForm ( const char * );
~ilVkImgAttrForm();
void create ( Widget );
const char * className();
static VkComponent *CreateilVkImgAttrForm( const char *name, Widget parent );
//---- Start editable code block: ilVkImgAttrForm public
// set the source image from which to get attributes and image format
// from which to get defaults and set or supported attribute values
void initAttributes(ilImage* src, iflFormat* format);
// get an iflFileConfig describing the attribute constraints that
// have been applied
iflFileConfig* getFileConfig() { return &_cfg; }
//---- End editable code block: ilVkImgAttrForm public
protected:
// Widgets created by this class
Widget _defColorModelButton;
Widget _defCompressionButton;
Widget _defDataTypeButton;
Widget _defOrderButton;
Widget _defOrientationButton;
Widget _defPageSizeButton;
Widget _imgattrLabel;
Widget _imgattrform;
Widget _label3;
Widget _label4;
Widget _label5;
Widget _label6;
Widget _label7;
Widget _label8;
Widget _label9;
Widget _pageSizeText;
Widget _springbox;
Widget _springbox1;
Widget _springbox2;
Widget _springbox3;
Widget _springbox4;
Widget _springbox5;
VkOptionMenu *_colorModelMenu;
VkOptionMenu *_compressionMenu;
VkOptionMenu *_dataTypeMenu;
VkOptionMenu *_orderMenu;
VkOptionMenu *_orientationMenu;
VkMenuItem *_abgrButton;
VkMenuItem *_bgrButton;
VkMenuItem *_bitButton;
VkMenuItem *_ccittfax3Button;
VkMenuItem *_ccittfax4Button;
VkMenuItem *_charButton;
VkMenuItem *_cmyButton;
VkMenuItem *_cmykButton;
VkMenuItem *_doubleButton;
VkMenuItem *_floatButton;
VkMenuItem *_hsvButton;
VkMenuItem *_intButton;
VkMenuItem *_interleavedButton;
VkMenuItem *_jpegButton;
VkMenuItem *_leftLowerButton;
VkMenuItem *_leftUpperButton;
VkMenuItem *_lowerLeftButton;
VkMenuItem *_lowerRightButton;
VkMenuItem *_luminanceAlphaButton;
VkMenuItem *_luminanceButton;
VkMenuItem *_lzwButton;
VkMenuItem *_multispectralButton;
VkMenuItem *_negativeButton;
VkMenuItem *_noCompressionButton;
VkMenuItem *_packbitsButton;
VkMenuItem *_paletteButton;
VkMenuItem *_rgbButton1;
VkMenuItem *_rgbaButton;
VkMenuItem *_rightLowerButton;
VkMenuItem *_rightUpperButton;
VkMenuItem *_separateButton;
VkMenuItem *_separator10;
VkMenuItem *_separator11;
VkMenuItem *_separator12;
VkMenuItem *_separator13;
VkMenuItem *_separator14;
VkMenuItem *_separator15;
VkMenuItem *_separator16;
VkMenuItem *_separator17;
VkMenuItem *_separator18;
VkMenuItem *_separator2;
VkMenuItem *_separator9;
VkMenuItem *_sequentialButton;
VkMenuItem *_sgirleButton;
VkMenuItem *_shortButton;
VkMenuItem *_ucharButton;
VkMenuItem *_uintButton;
VkMenuItem *_upperLeftButton;
VkMenuItem *_upperRightButton;
VkMenuItem *_ushortButton;
VkMenuItem *_yccButton;
VkMenuItem *_zipButton;
// These virtual functions are called from the private callbacks (below)
// Intended to be overriden in derived classes to define actions
virtual void defaultColorModel ( Widget, XtPointer );
virtual void defaultCompression ( Widget, XtPointer );
virtual void defaultDataType ( Widget, XtPointer );
virtual void defaultOrder ( Widget, XtPointer );
virtual void defaultOrientation ( Widget, XtPointer );
virtual void defaultPageSize ( Widget, XtPointer );
virtual void setColorModel ( Widget, XtPointer );
virtual void setCompression ( Widget, XtPointer );
virtual void setDataType ( Widget, XtPointer );
virtual void setOrder ( Widget, XtPointer );
virtual void setOrientation ( Widget, XtPointer );
virtual void setPageSize ( Widget, XtPointer );
//---- Start editable code block: ilVkImgAttrForm protected
//---- End editable code block: ilVkImgAttrForm protected
private:
// Array of default resources
static String _defaultilVkImgAttrFormResources[];
// Callbacks to interface with Motif
static void defaultColorModelCallback ( Widget, XtPointer, XtPointer );
static void defaultCompressionCallback ( Widget, XtPointer, XtPointer );
static void defaultDataTypeCallback ( Widget, XtPointer, XtPointer );
static void defaultOrderCallback ( Widget, XtPointer, XtPointer );
static void defaultOrientationCallback ( Widget, XtPointer, XtPointer );
static void defaultPageSizeCallback ( Widget, XtPointer, XtPointer );
static void setColorModelCallback ( Widget, XtPointer, XtPointer );
static void setCompressionCallback ( Widget, XtPointer, XtPointer );
static void setDataTypeCallback ( Widget, XtPointer, XtPointer );
static void setOrderCallback ( Widget, XtPointer, XtPointer );
static void setOrientationCallback ( Widget, XtPointer, XtPointer );
static void setPageSizeCallback ( Widget, XtPointer, XtPointer );
static void* RegisterilVkImgAttrFormInterface();
//---- Start editable code block: ilVkImgAttrForm private
iflFileConfig _cfg;
iflFileConfig _defCfg;
//---- End editable code block: ilVkImgAttrForm private
};
//---- Start editable code block: End of generated code
//---- End editable code block: End of generated code
#endif